package net.zdsoft.wpchat.support.service;

import java.util.Map;

import net.zdsoft.wpchat.support.entity.AuthCatalog;
import net.zdsoft.wpchat.support.entity.AuthModule;
import net.zdsoft.wpchat.support.entity.AuthOperation;
import net.zdsoft.wpchat.support.entity.UserConfig;

/**
 * 权限缓存Service
 * 
 * @author xuan
 */
public interface AuthCacheService {
    /**
     * 刷新权限缓存
     */
    void refreshPermission();

    UserConfig getUserConfigByGroupIds(String[] groupIds);

    Map<String, AuthCatalog> getCatalogMap();

    Map<String, AuthModule> getModuleMap();

    Map<String, AuthOperation> getOperationMap();

    UserConfig getUserConfig(String[] groupIds);
}
